package net.huashitong.ssydt.provider.task.mapper;

import net.huashitong.ssydt.base.dao.LongMapper;
import net.huashitong.ssydt.provider.task.dto.CardBagDTO;
import net.huashitong.ssydt.task.entity.SsTaskCard;
import net.huashitong.ssydt.task.vo.CardBagInVO;
import net.huashitong.ssydt.task.vo.SsTaskCardQueryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsTaskCardMapper extends LongMapper<SsTaskCard> {

    List<CardBagDTO> queryGroupByYearsWithMonths(CardBagInVO inVO);

    int countAll();

    List<SsTaskCard> findByYearMonths(String yearMonths);

    SsTaskCard getByQuestionId(Long questionId);

    List<SsTaskCard> findByIdInList(List<Long> ids);

    List<SsTaskCard> list(SsTaskCardQueryVO queryVO);

    int paginationCount(SsTaskCardQueryVO queryVO);
}